package com.example.shop_2304.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.shop_2304.R
import com.example.shop_2304.utils.GlideUtils

class ImageAdapter:BaseQuickAdapter<String,BaseViewHolder>(R.layout.item_img_comment) {
    override fun convert(holder: BaseViewHolder, item: String) {
        GlideUtils.loadImage(context,item,holder.getView(R.id.iv))
    }
}